<template>
    <view class="gjl-components">
        <uniPopup ref="popup" :show="show">
        	<slot></slot>
        </uniPopup>
    </view>
</template>

<script>
    import uniPopup from '@/components/uni-popup/uni-popup.vue'
    export default {
        components:{
            uniPopup
        },
        data(){
        	return {
        		show: false
        	}
        },
        methods:{
            showModel(){
                this.show = true;
            },
            closeModel(){
            	this.$refs.popup.hide();
            	this.$refs.popup.closeMask();
            	this.show = false;
            }
        }
    }
</script>

<style scoped>

</style>